package com.tws.pctask;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Description： springBoot启动类
 * @Author: wbf
 * @Date: 2022/1/21 12:05
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.tws.pctask","com.tws.dao"})
@ComponentScan(basePackages = {"com.tws.pctask","com.tws.common"})
@EnableScheduling
public class PcTaskApplication {
    public static void main(String[] args) {
        SpringApplication.run(PcTaskApplication.class, args);
    }
}
